package com.per.hjh.controller;

import java.io.IOException;

import javax.annotation.Resource;
import javax.imageio.ImageIO;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;

import com.per.hjh.controller.base.BaseSpringCcontroller;
import com.per.hjh.model.User;
import com.per.hjh.service.UserService;
import com.per.other.until.ImageCode;
import com.per.other.until.UserHelper;





@Controller
public class indexController extends BaseSpringCcontroller  {
public indexController() {
	// TODO Auto-generated constructor stub
}
@Autowired
	private UserService userService;
@Autowired
private ImageCode imageCode;
private static String sRand;
public void setUserService(UserService userService) {
	this.userService = userService;
}
	@RequestMapping(value="/index")
	public ModelAndView index(HttpServletRequest request,HttpServletResponse response,User user){
		return new ModelAndView("/index");
	}

}
